﻿using System;
using System.Collections.Generic;
using Core.Domain.Bases;
using Core.Domain.Entities;
using Core.Domain.Enums;
using Core.Domain.Interfaces;
using FluentNHibernate;
using FluentNHibernate.AutoMap;
using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;
using FluentNHibernate.Testing;
using MbUnit.Framework;
using NHibernate;

namespace Tests.Domain.Repositories
{
  public class PersonRepositoryFake : IPersonRepository
  {
    Dictionary<int, Person> dictionary;

    public PersonRepositoryFake()
    {
      dictionary = new Dictionary<int, Person>();
      dictionary.Add(1, new Person
                          {
                                AdminRightsRemoved = false,
                                AgeGroup = AgeGroup.Adult,
                                FirstName = "Person 1",
                                LastName = "Person Last 1"
                          }
            );
    }

    public Person Get(int id)
    {
      throw new NotImplementedException();
    }

    public void Save(Person entity)
    {
      throw new NotImplementedException();
    }

    public void Add(Person entity)
    {
      throw new NotImplementedException();
    }

    public void Remove(Person entity)
    {
      throw new NotImplementedException();
    }

    public IPersonFinder Find
    {
      get { throw new NotImplementedException(); }
    }
  }

  [TestFixture]
  public class PersonMapping_Fixture 
  {
    [Test]
    public void can_correctly_map_customer()
    {
    }
  }
}